package com.jason.um.user.servlce.impl;

import com.jason.um.user.servlce.OtpService;
import org.springframework.stereotype.Service;

@Service
public class OtpServiceImpl implements OtpService {

    @Override
    public String getOTP() {

        return  String.valueOf((int)((Math.random()*9+1) * 100000));
    }
}
